package com.hzw.subject.application.convert;

import com.hzw.subject.application.dto.SubjectAnswerDTO;
import com.hzw.subject.application.dto.SubjectInfoDTO;
import com.hzw.subject.domain.entity.SubjectAnswerBO;
import com.hzw.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerDTOConverter {
    SubjectAnswerDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerDTOConverter.class);
//
//    List<SubjectAnswerDTO> convertBoToAnswerDTOList(List<SubjectAnswerBO> subjectAnswerBO);

    SubjectAnswerBO convertDtoToAnswerBO(SubjectAnswerDTO subjectAnswerDTO);

    List<SubjectAnswerBO>convertDtoToAnswerBOList(List<SubjectAnswerDTO> subjectAnswerDTOList);

//    SubjectCategoryDTO convertBoToCategoryDTO(SubjectCategoryBO subjectCategoryBO);
}
